const gulp = require('gulp');
const winInstaller = require('electron-windows-installer');

gulp.task('create-windows-installer', (done) => {
  winInstaller({
    appDirectory: './',
    outputDirectory: './release',
    arch: 'ia32',
    setupExe: 'youzhi',
    setupMsi: 'youzhi',
  }).then(done).catch(done);
});
